/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ericsson.nfc.signing;

/**
 *
 * @author emarkki
 */
public class FetcherException extends Exception {

    private Throwable causedBy;

    public FetcherException() {
    }
    
    public FetcherException(String message, Throwable causedBy) {
        super(message);
        this.causedBy = causedBy;
    }

    public FetcherException(Throwable causedBy) {
        this.causedBy = causedBy;
    }

    public Throwable getCausedBy() {
        return causedBy;
    }
    
}
